package com.wyl.utils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

public class ConvertTools {

	public static ArrayList<String> mapToList(Map<String, String[]> map) {
		ArrayList<String> a = new ArrayList<>();
		
		Set<Entry<String, String[]>> entrys = map.entrySet();
		for (Entry<String, String[]> entry : entrys) {
			a.add(entry.getKey() + "=" + Arrays.toString(entry.getValue()));
		}
		return a;
	}
}
